package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.dto.CustomerDto;

import java.util.List;

/**
 * Created by zhangjh on 2016/10/14.
 */
public interface CustomerRepositoryCustom {


    PageResult getCustomerPage(String nickName,Long merchantId,Long mallId, PageResult pageResult);

    Long getCustomerOrderCount(Long customerId,Long merchantId,Long mallId, PageResult pageResult);

    Long getCustomerProductTotal(Long customerId,Long merchantId,Long mallId,PageResult pageResult);

    Long getCustomerProductVerificationTotal(Long customerId, Long merchantId, Long mallId, PageResult pageResult);

    Double getCustomerOrderTotal(Long customerId, Long merchantId, Long mallId, PageResult pageResult);

    Long getCustomerProductBack(Long customerId, Long merchantId, Long mallId, PageResult pageResult);
}
